package com.zabra.zl.ui.allocation_plan.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.MoneyRuleBean;
import com.zabra.zl.data.MultipleRuleBean;

import retrofit2.Call;

public interface AllocationPlanContract {
    interface Model {
        Call<MoneyRuleBean> getMoneyRuleData(int bpType);

        Call<MultipleRuleBean> getMultipleRuleData(int bpType);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(MoneyRuleBean bean);

        void onSuccess(MultipleRuleBean bean);
    }

    interface Presenter {
        void getMoneyRuleData(int bpType);

        void getMultipleRuleData(int bpType);
    }
}
